/**
 * Copyright 2011 Poltman.Ltd; www.poltman.com. All rights reserved.		
 *
 * This file is part of the dspace-poltman project http://www.poltman.com.
 *
 * This is free software; you can redistribute it and/or modify it under
 * the terms of DuraSpace DSpace license detailed in the LICENSE and NOTICE 
 * files at the root of the source tree and available online at
 * http://www.dspace.org/license/
 * 
 */

package com.poltman.dscentral.db.repository.dspace;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Transactional;

import com.poltman.dscentral.db.entity.dspace.Epersongroup2epersonEntity;
import com.poltman.dscentral.db.exceptions.RepositoryAccessException;
import com.poltman.dscentral.db.exceptions.RepositoryException;


/**
 * 
 * @author Zbigniew Ciok; z.ciok@poltman.com
 * @version $Revision: 1759 $
 *
 */
@Transactional(readOnly = true)
public interface Epersongroup2epersonRepository extends JpaRepository<Epersongroup2epersonEntity, Integer> {
	public List<Epersongroup2epersonEntity> findByEpersonGroupIdAndEpersonId(Integer epersonGroupId, Integer epersonId) throws Exception;
}
